Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with jQuery 1.9 and changes to dropdown position #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

giesse
Copy link

@giesse giesse commented Apr 27, 2013

These two commits make the plugin compatible with jQuery 1.9 by removing the reference to $.browser, and move the tag list dropdown close to the tag being edited by the user.

I'm sure more tweaking is necessary but I think it can be a start. Please let me know if any changes are needed.

Gabriele Santilli added 2 commits April 27, 2013 18:51
$.browser has been deprecated for a while, and dropped from
jQuery 1.9. The code was using it to deal with browser differences
about text selection handling; references to $.browser have been
removed, and text selection handling has been enhanced to handle
all browsers (by using code from the jQuery.selection plugin).

More testing and tweaking may be required.
The tag list dropdown used to always appear at the bottom of the
text area; this is undesirable if the text area gets big and you
are editing a tag at the top of the text.

These changes move the dropdown close to the tag being edited
by the user.

This code is a bit kludgy and may require further tweaking, but
it is a good start.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant